package com.itheima.common;

/**
 * @Author: zhuan
 * @Desc: 消息常量类
 * @Date: 2022-05-11 17:05:17
 */
public class MessageConstant {

    /*员工管理模块*/
    public static final String LOGIN_SUCCESS = "登录成功！";
    public static final String LOGOUT_SUCCESS = "登出成功！";
    public static final String LOGOUT_ERROR = "您还未登录，无须进行登出操作！";
    public static final String LOGIN_ERROR = "登录失败，请重新输入用户名密码！";
    public static final String EMP_SAVE_SUCCESS = "新增员工信息成功！";
    public static final String EMP_SAVE_ERROR = "新增员工信息失败！";
    public static final String EMP_EXISTS_ERROR = "新增员工信息失败,员工已经存在！";
    public static final String EMP_SEARCH_SUCCESS = "员工列表查询成功！";
    public static final String EMP_UPDATE_ERROR = "修改员工信息失败！";
    public static final String EMP_UPDATE_SUCCESS = "修改员工信息成功！";
    public static final String EMP_GET_SUCCESS = "获取员工信息成功！";
    public static final String EMP_GET_ERROR = "获取员工信息失败！";
    public static final String EMP_ACCOUNT_ERROR = "您输入的账号长度应是3-20！";
    public static final String EMP_ACCOUNT_NULL_ERROR = "您输入的账号不能为空！";
    public static final String EMP_ACCOUNT_FORMAT_ERROR = "您输入的账号只能为数字、字母和下划线！";
    public static final String EMP_EMPLOYEE_NAME_ERROR = "您输入的员工姓名超出范围,账号长度应是1-12！";
    public static final String EMP_EMPLOYEE_NULL_ERROR = "您输入的员工姓名不能为空！";
    public static final String EMP_EMPLOYEE_CHINESE_ERROR = "您输入的员工姓名只能为中文！";
    public static final String EMP_PHONE_ERROR = "您输入的手机号不是有效格式！";
    public static final String EMP_PHONE_NULL_ERROR = "您输入的手机号不能为空！";
    public static final String EMP_ID_NUMBER_ERROR = "您输入的身份证号码不是有效格式,请输入18位有效身份证！";
    public static final String EMP_ID_NUMBER_NULL_ERROR = "您输入的身份证号码不能为空！";
    public static final String EMP_UPDATE_STATUS_ERROR = "员工状态信息修改失败！";
    public static final String EMP_UPDATE_STATUS_SUCCESS = "员工状态信息修改成功！";
    public static final String EMP_DELETE_ERROR = "员工删除失败！";
    public static final String EMP_DELETE_SUCCESS = "员工删除成功！";
    public static final String ADMINISTRATOR_NOT_LOGIN = "请管理员登录！";
    /*菜品分类管理模块*/
    public static final String CAT_GET_SUCCESS = "获取分类信息成功！";
    public static final String CAT_GET_ERROR = "获取分类信息失败！";
    public static final String CAT_SAVE_SUCCESS = "添加分类信息成功！";
    public static final String CAT_SAVE_ERROR = "添加分类信息失败！";
    public static final String CAT_DELETE_ERROR = "删除分类信息失败！";
    public static final String CAT_DELETE_SUCCESS = "删除分类信息成功！";
    public static final String CAT_SORT_ERROR = "添加的排序不符合规范，请重新填写排序";
    public static final String CAT_UPDATE_ERROR = "修改分类信息失败！";
    public static final String CAT_UPDATE_SUCCESS = "修改分类信息成功！";
    public static final String CAT_NAME_IS_EXIST = "分类名称已经存在，请重新输入分类名称！";
    /*菜品管理模块*/
    public static final String DISH_GET_SUCCESS = "获取菜品信息成功!";
    public static final String DISH_GET_ERROR = "获取菜品信息失败!";
    public static final String DISH_SAVE_ERROR = "菜品信息新增失败!";
    public static final String DISH_SAVE_SUCCESS = "菜品信息新增成功!";
    public static final String DISH_UPDATE_ERROR = "菜品信息修改失败!";
    public static final String DISH_UPDATE_SUCCESS = "菜品信息修改成功!";
    public static final String DISH_DELETE_ERROR = "菜品信息删除失败!";
    public static final String DISH_DELETE_SUCCESS = "菜品信息删除成功!";
    public static final String DISH_ERROR_SUCCESS = "已有该菜品!";
    public static final String DISH_ANOMALY_SUCCESS = "菜品请输入中文";
    public static final String DISH_PICTURE_SUCCESS = "图片格式错误";

    /*套餐管理模块*/
    public static final String SETMEAL_GET_SUCCESS = "获取套餐信息成功!";
    public static final String SETMEAL_GET_ERROR = "获取套餐信息失败!";
    public static final String SETMEAL_SAVE_SUCCESS = "套餐信息保存成功!";
    public static final String SETMEAL_SAVE_ERROR = "套餐信息保存失败!";
    public static final String SETMEAL_UPDATE_SUCCESS = "套餐信息修改成功!";
    public static final String SETMEAL_UPDATE_ERROR = "套餐信息修改失败!";
    public static final String SETMEAL_DELETE_ERROR = "套餐信息删除失败!";
    public static final String SETMEAL_DELETE_SUCCESS = "套餐信息删除成功!";
    public static final String SETMEAL_VERIFY_NAME = "禁止输入中文字、英文字母、数字或下划线之外的格式!!";
    public static final String SETMEAL_VERIFY_PRICE = "最多支持小数点后两位!";

    /*文件处理消息提示*/
    public static final String FILE_UPLOAD_SUCCESS = "文件上传成功！";
    public static final String FILE_NOT_SELECTED = "文件未选择，请先选择文件！";
    public static final String DIR_HAVA_NO_WRITER_PERMISSION = "上传目录没有写权限！";
    public static final String DIR_IS_INCORRECT = "目录名不正确！";
    public static final String FILE_SIZE_EXCEEDS_LIMIT = "上传文件大小超过限制！";
    public static final String FILE_EXT_IS_NOT_ALLOWED = "上传文件扩展名是不允许的扩展名！";
    /*客户模块消息提示*/
    public static final String PHONE_IS_NOT_EXIST = "请先输入手机号！";
    public static final String VERIFYCODE_SEND_SUCCESS = "短信验证码发送成功！";
    public static final String USER_LOGIN_ERROR = "登录失败，请输入正确的手机号和验证码！";
    public static final String USER_LOGIN_SUCCESS = "登录成功！";
    public static final String NOT_LOGIN = "用户还未登录，请先登录！";
    /*用户地址模块消息提示*/
    public static final String ADDRESS_SAVE_ERROR = "新增用户地址失败！";
    public static final String ADDRESS_SAVE_SUCCESS = "新增用户地址成功！";
    public static final String ADDRESS_GET_ERROR = "获取用户地址失败！";
    public static final String ADDRESS_GET_SUCCESS = "获取用户地址成功！";
    public static final String UPDATE_DEFAULT_ADDRESS_ERROR = "修改默认地址失败！";
    public static final String UPDATE_DEFAULT_ADDRESS_SUCCESS = "修改默认地址成功！";
    /*购物车模块消息提示*/
    public static final String CART_GET_SUCCESS = "获取购物车列表成功！";
    public static final String CART_ADD_SUCCESS = "添加购物车成功！";
    public static final String CART_ADD_ERROR = "添加购物车失败！";
    /*订单模块消息提示*/
    public static final String ADD_ORDER_ERROR = "添加订单失败！";
    public static final String ADD_ORDER_SUCCESS = "添加订单成功！";
    public static final String GET_ORDER_SUCCESS = "查询订单成功！";
    public static final String GET_ORDER_ERROR = "查询订单失败！";

    /*平台数据显示模块*/
    public static final String DISPLAY_OK = "数据显示成功";
    public static final String DISPLAY_ERROR = "数据显示失败";
    public static final String USER_COUNTS_ERROR = "用户数量获取失败";
    public static final String USER_COUNTS_OK = "用户数量获取成功";


}
